package com.ck.javacode.Chapter1;

/**
 * @author: caoke
 * @date: 2021/9/26 4:50 下午
 * @description:
 */
public class Var {
    public static void main(String[] args) {
        //声明变量
        int a;
        a = 100;
        System.out.println(a);

        //还可以这样用
        int b = 800;
        System.out.println(b);

        //记录人的信息
        int age =20;
        double score = 88.6;
        char gender = '男';
        String name = "jack";
        //输出信息
        System.out.println("人的信息如下");
        System.out.println(age);
        System.out.println(name);
        System.out.println(score);
        System.out.println(gender);

    }
}
